import java.awt.Color;
import java.awt.Graphics;
import java.awt.Point;
import java.awt.Rectangle;

import org.cb.core.ColourBot;
import org.cb.core.FsigOCR;
import org.cb.scapegoat.Inventory;

/**
 * 
 * @author Unknown
 * 
 * A test of the scripts.
 *
 */
public class TestScript extends ColourBot{
	public double version = 1.01;
	public String description = "My Test Script";
	public String author = "Fsig";
	
	 double startTime, endTime;

	@Override
	public void script() throws InterruptedException {
		log("The Script Is Working :D");
		
		while(true){
			loop();
		}
	}
	
	public void loop() throws InterruptedException{
		moveMouse(new Point(100,200));
		moveMouse(new Point(300,200));
		moveMouse(new Point(200,300));
		sleep(5000);
	}

	@Override
	public void paint(Graphics g) throws InterruptedException {
		g.setColor(Color.WHITE);
		g.drawString("Mouse X,Y: " + mousePosition(), 20, 20);
	}

}
